package com.glodon.paas.monitor.server.biz.mapper;

import java.util.ArrayList;

import org.apache.ibatis.annotations.Param;

import com.glodon.paas.monitor.server.biz.domain.MonitorAlarmRulesEntity;
import com.glodon.paas.monitor.server.dto.MonitorAlarmRulesDTO;

public interface MonitorAlarmRulesMapper {

	public int deleteByPrimaryKey(Long id);

	public int deleteByItemId(@Param("itemId") Long itemId);

	public int insert(MonitorAlarmRulesEntity record);

	public int insertSelective(MonitorAlarmRulesEntity record);

	public MonitorAlarmRulesEntity selectByPrimaryKey(Long id);

	public ArrayList<MonitorAlarmRulesEntity> queryMonitorAlarm(MonitorAlarmRulesDTO monitorAlarmRulesDTO);

	public int updateByPrimaryKeySelective(MonitorAlarmRulesEntity record);

	public int updateByPrimaryKey(MonitorAlarmRulesEntity record);
}